From: | Neil Bothwick |
Date: | 31 May 2001 at 19:55:38 |
Subject: | Re: removing carriage returns? |
Robin Cloutman said,
>> Is there a function to remove them from a text file?
> At work so can't check the ascii code, but -
> line = STRIP(line,'T','0d'x)
That will only work is the CR follows the LF (I can never remember which
way round they actually appear). A safer alternative would be
line = compress(line, '0d'x)
Cheers
Neil
If you are a fatalist, what can you do about it?
ARexx mailing list - No flames, no overquoting, no crossposting.
Unsub: Blank mail to mailto:arexx-unsubscribe@yahoogroups.com
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/